package org.cyb.demo.service;

import org.cyb.demo.domain.Chapter;
import org.cyb.demo.domain.Course;

import java.util.List;

public interface ChapterService {
    int add(Chapter chapter, Course course);
    void remove(Chapter chapter);
    void modify(Chapter chapter);
    List<Chapter> find(Chapter chapter);
    List<Chapter> findAll();
    Chapter findOneById(Chapter chapter);
}
